GFLAG=-I ../../../build/release-install-cpp11/include
FLAG=-L ../../../build/release-install-cpp11/lib 
.PHONY:all
all:server publish_client subscribe_client
server:server.cpp
	g++ -o $@ $^ -std=c++11  $(GFLAG) $(FLAG) -lmuduo_net -lmuduo_base  -lpthread -ljsoncpp
publish_client:publish_client.cpp
	g++ -o $@ $^ -std=c++11  $(GFLAG) $(FLAG) -lmuduo_net -lmuduo_base  -lpthread -ljsoncpp
subscribe_client:subscribe_client.cpp	
	g++ -o $@ $^ -std=c++11  $(GFLAG) $(FLAG) -lmuduo_net -lmuduo_base  -lpthread -ljsoncpp
.PHONY:clean
clean:
	rm -rf server publish_client subscribe_client
	